<template>
  <div>
      zizizzi
      <button v-on:click="fun()">点我逆向传值</button>
      <button v-on:click="fun1()">点我同胞传值</button>
  </div>
</template>

<script>
// import EventBus from '@/eventbus/index.js'
export default {
  methods: {
      fun(){
          this.$emit("xiaoming","我是子组件的数据")
      },
    //   fun1(){
    //       EventBus.$emit("Zia","我是zia的数据，同胞组件传值")
    //   }
  },
}
</script>

<style>

</style>